package com.teradata.tool.bean;

import java.sql.Date;
import java.sql.Time;

public class EtlDailyReportInfoBean {
	private Date	TxDate;
	private String	ReportItem;
	private String	ReportValue1;
	private String	ReportValue2;
	private String	ReportValue3;
	private String	ReportValue4;
	private String	ReportValue5;
	private String	ReportValue6;
	private Time	MODIFY_DT;

	public Date getTxDate() {
		return TxDate;
	}

	public void setTxDate(Date txDate) {
		TxDate = txDate;
	}

	public String getReportItem() {
		return ReportItem;
	}

	public void setReportItem(String reportItem) {
		ReportItem = reportItem;
	}

	public String getReportValue1() {
		return ReportValue1;
	}

	public void setReportValue1(String reportValue1) {
		ReportValue1 = reportValue1;
	}

	public String getReportValue2() {
		return ReportValue2;
	}

	public void setReportValue2(String reportValue2) {
		ReportValue2 = reportValue2;
	}

	public String getReportValue3() {
		return ReportValue3;
	}

	public void setReportValue3(String reportValue3) {
		ReportValue3 = reportValue3;
	}

	public String getReportValue4() {
		return ReportValue4;
	}

	public void setReportValue4(String reportValue4) {
		ReportValue4 = reportValue4;
	}

	public String getReportValue5() {
		return ReportValue5;
	}

	public void setReportValue5(String reportValue5) {
		ReportValue5 = reportValue5;
	}

	public String getReportValue6() {
		return ReportValue6;
	}

	public void setReportValue6(String reportValue6) {
		ReportValue6 = reportValue6;
	}

	public Time getMODIFY_DT() {
		return MODIFY_DT;
	}

	public void setMODIFY_DT(Time mODIFY_DT) {
		MODIFY_DT = mODIFY_DT;
	}

	public String getInfo(int index) {
		String ret = "";
		if (index == 1) {
			ret = TxDate.toString();
		} else if (index == 2) {
			ret = ReportItem;
		} else if (index == 3) {
			ret = ReportValue1;
		} else if (index == 4) {
			ret = ReportValue2;
		} else if (index == 5) {
			ret = ReportValue3;
		} else if (index == 6) {
			ret = ReportValue4;
		} else if (index == 7) {
			ret = ReportValue5;
		} else if (index == 8) {
			ret = ReportValue6;
		} else {
			ret = MODIFY_DT.toString();
		}
		if (ret != null) {
			ret = ret.trim();
		} else {
			ret = "";
		}
		return ret;
	}
}
